package org.eden.heartbeat.core.persistence;

import java.sql.SQLException;

/**
 * Generic DAO interface that all DAOs must implement.
 *
 * @author trsimoes
 * @version $Revision:$
 */
public interface AbstractDAO {

    /**
     * Clean up any resource that the DAO was left behind. This method should be invoked before the application shuts
     * down.
     *
     * @throws SQLException thrown when an error occurs while communicating with the database.
     */
    public void shutdown() throws SQLException;
}